package com.ncd.disease.domain;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import lombok.Data;

/**
 * 复诊信息
 * @author zhouxin
 * @version 1.0
 * Create by 2024-03-10 19:13
 */
@Data
@TableName(value = "ret_adm_info",autoResultMap = true)
public class RetAdmInfo {

    private static final long serialVersionUID = 1L;

    @TableId(value = "rai_id",type = IdType.AUTO)
    private Long raiId;

    private Long raiAdmId;

    @TableField(typeHandler = FastjsonTypeHandler.class)
    private JSONObject raiDetail;
}
